package microservices.spring_cloud_server.vo;

import java.sql.Date;
import java.util.List;

public class RoleVO {
	private String userId;

	private String roleId;

	private String roleName;

	private String roleGroup;

	private String remark;

	private String creationBy;

	private String creationDate;
	
	private String creationDateStr;

	private String title;

	private Boolean checked = false;

	List<RoleVO> children;

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(String checked) {
		if ("true".endsWith(checked)) {
			this.checked = true;
		} else {
			this.checked = false;
		}
	}

	public List<RoleVO> getChildren() {
		return children;
	}

	public void setChildren(List<RoleVO> children) {
		this.children = children;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreationBy() {
		return creationBy;
	}

	public void setCreationBy(String creationBy) {
		this.creationBy = creationBy;
	}

 

	public String getRoleGroup() {
		return roleGroup;
	}

	public void setRoleGroup(String roleGroup) {
		this.roleGroup = roleGroup;
	}

	public String getCreationDateStr() {
		return creationDateStr;
	}

	public void setCreationDateStr(String creationDateStr) {
		this.creationDateStr = creationDateStr;
	}

	public String getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}

}
